package com.liao.badminton.service;

import com.liao.badminton.code.*;
import com.liao.badminton.entity.ActivityParticipator;
import com.liao.badminton.dto.ActivityParticipatorDto;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liao.badminton.vo.ActivityParticipatorVo;

import java.util.List;

/**
* @author liaocheng
* @date 2024-11-15
* description:活动参与者表
*/
public interface ActivityParticipatorService extends IService<ActivityParticipator>{
	/**
     * 新增
     */
	 ResponseRest saveActivityParticipator(ActivityParticipatorDto param)throws ProjectException;
	/**
     * 修改
     */
	 ResponseRest updateActivityParticipator(ActivityParticipatorDto param)throws ProjectException;
	/**
     * 查询列表
     */
	 ResponseRest findActivityParticipatorByPageParam(PageParam<ActivityParticipatorDto> PageParam)throws ProjectException;
    /**
    * 查询详情
    */
    ResponseRest findDetail(ActivityParticipatorDto param)throws ProjectException;
	/**
     * 删除
     */
	 ResponseRest deletesActivityParticipator(ActivityParticipatorDto param)throws ProjectException;

	List<ActivityParticipatorVo> findByActivityId(Long id);

	ResponseRest<Boolean> updates(List<ActivityParticipatorDto> params);
}
